<?php
require_once "../include.php";
checkLogin();
?>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Insert title here</title>
</head>
<body>
    <h3>添加管理员</h3>
    <form action="doAdminAction.php?action=addAdmin" method="post">
        <table width="70%" border="1" cellpadding="5" cellspacing="0" bgcolor="#cccccc">
            <tr>
                <td align="right">管理员名称</td>
                <td><input type="text" name="username" minlength="3" placeholder="请输入管理员名称"/></td>
            </tr>
            <tr>
                <td align="right">管理员密码</td>
                <td><input type="password" name="password" minlength="6" placeholder="请输入管理员密码"/></td>
            </tr>
            <tr>
                <td align="right">管理员邮箱</td>
                <td><input type="text" name="email" placeholder="请输入管理员邮箱"/></td>
            </tr>
            <tr>
                <td colspan="2"><input type="submit"  value="添加管理员"/></td>
            </tr>

        </table>
    </form>
</body>
</html>